Integrand size = 19, antiderivative size = 48 \[ \int (a+b \sec (c+d x))^n \sin (c+d x) \, dx=\frac {b \operatorname {Hypergeometric2F1}\left (2,1+n,2+n,1+\frac {b \sec (c+d x)}{a}\right ) (a+b \sec (c+d x))^{1+n}}{a^2 d (1+n)} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {3959, 67} \[ \int (a+b \sec (c+d x))^n \sin (c+d x) \, dx=\frac {b (a+b \sec (c+d x))^{n+1} \operatorname {Hypergeometric2F1}\left (2,n+1,n+2,\frac {b \sec (c+d x)}{a}+1\right )}{a^2 d (n+1)} \]
[In]
[Out]
Rule 67
Rule 3959
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int \frac {(a-b x)^n}{x^2} \, dx,x,-\sec (c+d x)\right )}{d} \\ & = \frac {b \operatorname {Hypergeometric2F1}\left (2,1+n,2+n,1+\frac {b \sec (c+d x)}{a}\right ) (a+b \sec (c+d x))^{1+n}}{a^2 d (1+n)} \\ \end{align*}
Time = 0.67 (sec) , antiderivative size = 72, normalized size of antiderivative = 1.50 \[ \int (a+b \sec (c+d x))^n \sin (c+d x) \, dx=\frac {b \cos (c+d x) \operatorname {Hypergeometric2F1}\left (2,1-n,2-n,\frac {a \cos (c+d x)}{b+a \cos (c+d x)}\right ) (a+b \sec (c+d x))^n}{d (-1+n) (b+a \cos (c+d x))} \]
[In]
[Out]
\[\int \left (a +b \sec \left (d x +c \right )\right )^{n} \sin \left (d x +c \right )d x\]
[In]
[Out]
\[ \int (a+b \sec (c+d x))^n \sin (c+d x) \, dx=\int { {\left (b \sec \left (d x + c\right ) + a\right )}^{n} \sin \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int (a+b \sec (c+d x))^n \sin (c+d x) \, dx=\int \left (a + b \sec {\left (c + d x \right )}\right )^{n} \sin {\left (c + d x \right )}\, dx \]
[In]
[Out]
\[ \int (a+b \sec (c+d x))^n \sin (c+d x) \, dx=\int { {\left (b \sec \left (d x + c\right ) + a\right )}^{n} \sin \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int (a+b \sec (c+d x))^n \sin (c+d x) \, dx=\int { {\left (b \sec \left (d x + c\right ) + a\right )}^{n} \sin \left (d x + c\right ) \,d x } \]
[In]
[Out]
Time = 14.48 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.52 \[ \int (a+b \sec (c+d x))^n \sin (c+d x) \, dx=\frac {\cos \left (c+d\,x\right )\,{\left (a+\frac {b}{\cos \left (c+d\,x\right )}\right )}^n\,{{}}_2{\mathrm {F}}_1\left (1-n,-n;\ 2-n;\ -\frac {a\,\cos \left (c+d\,x\right )}{b}\right )}{d\,{\left (\frac {a\,\cos \left (c+d\,x\right )}{b}+1\right )}^n\,\left (n-1\right )} \]
[In]
[Out]